package com.design.command.remotecontrol1;

// 音响类
class Stereo {
    void turnOn() {
        System.out.println("Stereo is turned on");
    }

    void turnOff() {
        System.out.println("Stereo is turned off");
    }

    void setCD() {
        System.out.println("Stereo is set to CD mode");
    }

    void setVolume(int volume) {
        System.out.println("Stereo volume is set to " + volume);
    }
}
